package com.zrkj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

/**
 * @author : 司总
 * @className : Yssjb
 * @package: com.zrkj.entity
 * @description : 运营数据表 实例类
 * @date :  2023-11-23
 */
@Getter
@Setter
    @Accessors(chain = true)
@ToString
@TableName("sys_yssjb")
    @ApiModel(value = "Yssjb", description = "运营数据表")
public class Yssjb implements Serializable{

private static final long serialVersionUID=1L;

                @TableId(value = "id", type = IdType.ID_WORKER_STR)
        @ApiModelProperty(value = "")
                private String id;


    /**
     * 时间
     */
    @TableField("time")
    @ApiModelProperty(value = "时间")
        private String time;


    /**
     * 订单数量
     */
    @TableField("ddsl")
    @ApiModelProperty(value = "订单数量")
        private String ddsl;


    /**
     * 收入
     */
    @TableField("sr")
    @ApiModelProperty(value = "收入")
        private String sr;


    /**
     * 用户数量
     */
    @TableField("yhsl")
    @ApiModelProperty(value = "用户数量")
        private String yhsl;


    /**
     * 负荷
     */
    @TableField("fh")
    @ApiModelProperty(value = "负荷")
        private String fh;


    /**
     * 服务费
     */
    @TableField("fwf")
    @ApiModelProperty(value = "服务费")
        private String fwf;


    /**
     * 站电id
     */
    @TableField("stationid")
    @ApiModelProperty(value = "站电id")
        private String stationid;



@TableField(exist = false)
private Long current;

@TableField(exist = false)
private Long size;

public Page getPage() {

        return new Page(null != this.getCurrent() ? this.getCurrent() : 1L, null != this.getSize() ? this.getSize() : 10L);
        }



        }
